package com.mixmall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 会员账号表
 * </p>
 *
 * @author caozhiren
 * @since 2024-09-29
 */
@TableName("czkt_account")
public class CzktAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "account_id", type = IdType.AUTO)
    private Integer accountId;

    /**
     * 账号类型（1、为账号  2、为手机号  3、微信  4、QQ）
     */
    private Boolean accountType;

    /**
     * 登录账号
     */
    private String accountContent;

    /**
     * 密码
     */
    private String accountPwd;

    /**
     * 用户id
     */
    private Integer userId;

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public Boolean getAccountType() {
        return accountType;
    }

    public void setAccountType(Boolean accountType) {
        this.accountType = accountType;
    }

    public String getAccountContent() {
        return accountContent;
    }

    public void setAccountContent(String accountContent) {
        this.accountContent = accountContent;
    }

    public String getAccountPwd() {
        return accountPwd;
    }

    public void setAccountPwd(String accountPwd) {
        this.accountPwd = accountPwd;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "CzktAccount{" +
        "accountId = " + accountId +
        ", accountType = " + accountType +
        ", accountContent = " + accountContent +
        ", accountPwd = " + accountPwd +
        ", userId = " + userId +
        "}";
    }
}
